# -*- ecoding: utf-8 -*-
# @ModuleName: login
# @Author: wangwei 
# @Time: 2023/10/18 10:43
from api.buyer.buyerbaseapi import BuyerBaseApi


class Login(BuyerBaseApi):

    def __init__(self,username="wangwei0814",password="e10adc3949ba59abbe56e057f20f883e",captcha="1512",uuid="e5532f10"):
        super().__init__()
        self.url=f"{self.host}/passport/login"
        self.method="post"
        self.data={
            "username": username,
            "password":password,
            "captcha": captcha,
            "uuid": uuid
        }



if __name__ == '__main__':
    Login().send()